projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9062060
)
themingengine: Return NULL for nonexistant theming engines
author
Benjamin Otte
<otte@redhat.com>
Thu, 21 Jul 2011 00:41:10 +0000
(
02:41
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Thu, 21 Jul 2011 00:43:54 +0000
(
02:43
+0200)
his also makes the function conform to its documentation.
gtk/gtkthemingengine.c
patch
|
blob
|
history
diff --git
a/gtk/gtkthemingengine.c
b/gtk/gtkthemingengine.c
index 1e5d735d649eccfc2476d66954bdc36c3b935d81..d07640931575d0652c395dce8deabc5f26a60df3 100644
(file)
--- a/
gtk/gtkthemingengine.c
+++ b/
gtk/gtkthemingengine.c
@@
-1020,8
+1020,7
@@
gtk_theming_engine_load (const gchar *name)
}
}
}
-
- if (!engine)
+ else
{
if (G_UNLIKELY (!default_engine))
default_engine = g_object_new (GTK_TYPE_THEMING_ENGINE, NULL);